module Mix.Views {
    /**
    * Login
    * 游戏登陆界面
    */
    export class Login extends Mix.Views.BaseViews {
        // 组件
        public loginBtn:eui.Button;
        public heroImg:eui.Image;
        
        constructor(){
            super();
        }
        
        //初始化配置 该组件
        public initCreationComplete(){
            super.initCreationComplete();
                        
            this.loginBtn.visible = true;
            // this.loginBtn.addEventListener(egret.TouchEvent.TOUCH_TAP,this.onTouchLoginBtn,this);
            this.onTouchLoginBtn();
        }
        
        private onTouchLoginBtn(){
            this.loginBtn.visible = false;
        }
    }
}